1 # a rope slides frictionlessly down the edge of a table
4 coefficient(1): 1 -> x0' # initial speed
5 coefficient(2): -1 -> -x0 # initial length of rope already over the edge of the table
6 coefficient(3): g/l # gravity constant (g) divided by the length of the rope (l)
8 iintegrate (x'') -> -x':
10 iintegrate (-x') -> x:
12 x * g/l -> g/l*x = x''
14 # note: positive x-axis in the direction of the falling rope (so down)
15 # for visualization, -x is displayed
16 invert (x) -> -x # goes to output x